﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Quizgame
{
    public partial class Formchinh : Form
    {
        public Formchinh()
        {
            InitializeComponent();
        }

        private void btn_exit_Click(object sender, EventArgs e)
        {
            FormAdmin frm = new FormAdmin();
            this.Visible = false;
            frm.ShowDialog();
            
            this.Close();
        }

        private void btn_cauhoi_Click(object sender, EventArgs e)
        {
            Formcauhoi frm = new Formcauhoi();
            this.Visible = false;
            frm.ShowDialog();
            
            this.Close();
        }

        private void btn_danhsach_Click(object sender, EventArgs e)
        {
            Formdanhsach frm = new Formdanhsach();
            this.Visible = false;
            frm.ShowDialog();
            
            this.Close();
        }

        private void btn_danhsachtop_Click(object sender, EventArgs e)
        {
            Formdanhsachtop frm = new Formdanhsachtop();
            this.Visible = false;
            frm.ShowDialog();
            
            this.Close();
        }

        private void Formchinh_Load(object sender, EventArgs e)
        {

        }
    }
}
